package com.freesky.biz.abchina.api;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "abchina")
public class AbChinaConfiguration {

    @Value("${abchina.configs.couponPrefixUrl}")
    private String couponPrefixUrl;

    @Value("${abchina.configs.couponAppId}")
    private String couponAppId;

    @Value("${abchina.configs.couponAppSecert}")
    private String couponAppSecert;

    @Value("${abchina.configs.couponPublicKey}")
    private String couponPublicKey;

    @Value("${abchina.configs.couponPrivateKey}")
    private String couponPrivateKey;

    @Value("${abchina.configs.platPublicKey}")
    private String platPublicKey;

    @Value("${abchina.configs.bankAppId}")
    private String bankAppId;

    @Value("${abchina.configs.bankAppSecert}")
    private String bankAppSecert;


    @Value("${abchina.configs.rightsToken}")
    private String rightsToken;

    @Value("${abchina.configs.rightsAppId}")
    private String rightsAppId;

    @Value("${abchina.configs.rightsPrefixUrl}")
    private String rightsPrefixUrl;

    @Value("${abchina.configs.lotterSeqNo}")
    private Integer lotterSeqNo;

    public String getCouponAppId() {
        return couponAppId;
    }

    public void setCouponAppId(String couponAppId) {
        this.couponAppId = couponAppId;
    }

    public String getCouponAppSecert() {
        return couponAppSecert;
    }

    public void setCouponAppSecert(String couponAppSecert) {
        this.couponAppSecert = couponAppSecert;
    }

    public String getCouponPublicKey() {
        return couponPublicKey;
    }

    public void setCouponPublicKey(String couponPublicKey) {
        this.couponPublicKey = couponPublicKey;
    }

    public String getCouponPrivateKey() {
        return couponPrivateKey;
    }

    public void setCouponPrivateKey(String couponPrivateKey) {
        this.couponPrivateKey = couponPrivateKey;
    }

    public String getBankAppId() {
        return bankAppId;
    }

    public void setBankAppId(String bankAppId) {
        this.bankAppId = bankAppId;
    }

    public String getBankAppSecert() {
        return bankAppSecert;
    }

    public void setBankAppSecert(String bankAppSecert) {
        this.bankAppSecert = bankAppSecert;
    }

    public String getCouponPrefixUrl() {
        return couponPrefixUrl;
    }

    public void setCouponPrefixUrl(String couponPrefixUrl) {
        this.couponPrefixUrl = couponPrefixUrl;
    }

    public String getPlatPublicKey() {
        return platPublicKey;
    }

    public void setPlatPublicKey(String platPublicKey) {
        this.platPublicKey = platPublicKey;
    }

    public String getRightsToken() {
        return rightsToken;
    }

    public void setRightsToken(String rightsToken) {
        this.rightsToken = rightsToken;
    }

    public String getRightsAppId() {
        return rightsAppId;
    }

    public void setRightsAppId(String rightsAppId) {
        this.rightsAppId = rightsAppId;
    }

    public String getRightsPrefixUrl() {
        return rightsPrefixUrl;
    }

    public void setRightsPrefixUrl(String rightsPrefixUrl) {
        this.rightsPrefixUrl = rightsPrefixUrl;
    }

    public Integer getLotterSeqNo() {
        return lotterSeqNo;
    }

    public void setLotterSeqNo(Integer lotterSeqNo) {
        this.lotterSeqNo = lotterSeqNo;
    }
}
